package sk.sigp.aobot.base;

import java.text.SimpleDateFormat;
import java.util.GregorianCalendar;

import sk.sigp.aobot.Credentials;

public class StaticUtils {

	private static SimpleDateFormat sdfTime = new SimpleDateFormat("HH:mm");

	public static String actualTimeToString() {
		return sdfTime.format(new GregorianCalendar().getTime());
	}
	
	public static String actualTime() {
		if (!Credentials.SHOW_TIMESTAMP)
			return "";
		return	StaticUtils.actualTimeToString() + " - ";
	}

}
